package com.bicon.base.data.pojo.botu;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 钱包
 * </p>
 *
 * @author zhoutyianqi
 * @since 2018-07-25
 */
@TableName("lk_wallet")
public class LkWallet extends Model<LkWallet> {

    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 用户id
     */
    @TableField("user_id")
    private String userId;
    /**
     * 余额
     */
    private BigDecimal money;
    /**
     * 余额加密
     */
    @TableField("money_md5")
    private String moneyMd5;
    /**
     * 支付密码
     */
    @TableField("pay_password")
    private String payPassword;
    /**
     * 账户状态，0：正常，1：冻结
     */
    private String status;
    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 删除时间
     */
    @TableField("update_date")
    private Date updateDate;
    /**
     * 逻辑删除标志
     */
    @TableField("logic_delete")
    private String logicDelete;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getMoneyMd5() {
        return moneyMd5;
    }

    public void setMoneyMd5(String moneyMd5) {
        this.moneyMd5 = moneyMd5;
    }

    public String getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getLogicDelete() {
        return logicDelete;
    }

    public void setLogicDelete(String logicDelete) {
        this.logicDelete = logicDelete;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "LkWallet{" +
        "id=" + id +
        ", userId=" + userId +
        ", money=" + money +
        ", moneyMd5=" + moneyMd5 +
        ", payPassword=" + payPassword +
        ", status=" + status +
        ", createDate=" + createDate +
        ", updateDate=" + updateDate +
        ", logicDelete=" + logicDelete +
        "}";
    }
}
